<h2> News & Updates </h2>
<hr>

	<div id="warpaccordion">
		<div id="accordion">
		<?php 
			$news = $this->latestNews;
			foreach($news as $key => $value){
				echo '<h3><a class="title" href="#">'.$value["news_title"].' -- Date: '.$value["news_date"].'</a></h3>';
				echo '<div class="ui-widget ui-corner-all">';
				echo '<span class="summary">'.$value["news_summary"].'</span>';
				echo '<p style="padding-left:20px">';
				echo $value["news_body"];
				echo '</p>';
					echo '</div>';
			} 
		?>
		</div><!-- End accordion -->
	</div><!-- End warpaccordion -->

<script type="text/javascript">
$(function() {
	$( "#accordion" ).accordion();
});
</script>
<style>
.title{
	color:gray;
}
.summary{
	color:red;
}
</style>